package cn.edu.hatu.bookshop.entity;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class Customer {
    public Customer() {
    }

    private int customerId;
    private String password;
    private String name;
    private String address;
    private String email;
    private String telephone;

    public Customer(String password, String name, String address, String email, String telephone) {
        this.password = password;
        this.name = name;
        this.address = address;
        this.email = email;
        this.telephone = telephone;
    }

    @Override
    public String toString() {
        return "Customer{" +
                "customerId=" + customerId +
                ", password='" + password + '\'' +
                ", name='" + name + '\'' +
                ", address='" + address + '\'' +
                ", email='" + email + '\'' +
                ", telephone='" + telephone + '\'' +
                '}';
    }
}
